# -*- coding:utf-8 -*-
# Author：FeiHu


import numpy as np

b = np.arange(1, 9)
print("b = ", b)
print("Factorial ", b.prod())
print("Factorials ", b.cumprod())
